.header {
    .container {
        width: 80%;

        .navbar {
            border: 0;
            margin-bottom: 0;
            min-height: 10em;

            .top {
                width: 100%;
                height: 1em;
                background-color: #00b7ee;
                margin-bottom: 2em;
            }

            .bottom {
                display: flex;
                justify-content: space-between;
                align-items: flex-end;
                padding: 0 3em;

                .listnav {
                    flex: .9;

                    ul {
                        display: flex;
                        justify-content: space-around;

                        li {
                            a {
                                color: #000;
                                font-size: .8em;
                                line-height: 1.4em;
                                padding: .3em;
                                text-decoration: none;
                            }

                            border-bottom:1px solid transparent;

                            &:hover {
                                border-bottom: 1px solid #828282;
                            }
                        }
                    }
                }

                .search {
                    height: 2em;
                    border: 1px solid #000;
                    display: flex;
                    justify-content: space-between;

                    .searchinfo {
                        border: 0px;
                    }

                    .searchbtn {
                        // display: inline-block;
                        background-color: #fff;
                        border: 0px;
                    }
                }

                .btn-group {
                    display: none;

                    li {
                        .search {
                            height: 2em;
                            border: 1px solid transparent;
                            border-radius: 2px;
                            display: flex;
                            justify-content: space-between;

                            .searchinfo {
                                border: 0px;
                            }

                            .searchbtn {
                                // display: inline-block;
                                background-color: #fff;
                                border: 0px;
                            }
                        }
                    }
                }
            }

        }
    }

    @media screen and (max-width:974px) {
        .container {
            width: 90%;
            .navbar {
                .bottom {
                    .listnav {
                        display: none;
                    }

                    .search {
                        display: none;
                    }

                    .btn-group {
                        display: inline-block;

                    }

                    .dropdown-menu{
                        li{
                            .search{
                                margin: .5em;
                            }
                        }
                        a{
                            line-height: 2em;
                        }
                    }
                }
            }
        }
    }

    @media screen and (max-width:866px) {
        .container {
            width: 100%;
            padding: 0;
        }
    }

    @media screen and (max-width:768px) {
        .container {
            width: 100%;
            padding: 0;

            
        }
    }
}

.banner {
    margin: 0 auto;
    margin-bottom: 2em;
    .container {
        width: 80%;

        .slide {
            .carousel-indicators {
                .point {
                    width: 1em;
                    height: 1em;
                    border-radius: 50%;
                    border: 0em;
                    margin: 1px;
                    background: #395674;
                }
                .active{
                    background-color: rgba(0, 0, 0, .7);
                }
            }

            .carousel-inner{
                .item{
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        }
    }

    @media screen and (max-width:974px) {
        .container {
            width: 90%;
        }
    }

    @media screen and (max-width:866px) {
        .container {
            width: 100%;
            padding: 0;
        }
    }

    @media screen and (max-width:768px) {
        .container {
            width: 100%;
            padding: 0;
        }
    }
}

.footer{
    .container{
        width: 80%;
        .top{
            width: 90%;
            margin:0 auto ;
            display: flex;
            margin-bottom: 2em;
            .leftlist{
                ul{
                    display: flex;
                    li{
                        display: flex;
                        flex-wrap: wrap;
                        margin: 0 .2em;
                        .smtitle{
                            font-size: 1em;
                            font-weight: bold;
                            margin-bottom: 1em;
                        }
                        span{
                            flex: 0 0 100%;
                            a{
                                color: #000;
                                font-size: .7em;
                                text-decoration: none;
                                margin-bottom: .5em;
                            }
                        }
                    }
                }
            }

            .right{
                flex-shrink: 0;
                .contact{
                    display: flex;
                    justify-content: space-between;
                    margin-bottom: .5em;
                    .phone{
                        flex-shrink: 0;
                        margin-right: .5em;
                    }
                    .center{
                        margin-right: .5em;
                        .phonenum{
                            p{
                                display: block;
                                color: #000;
                                font-size: 1em;
                                font-weight: bold;
                                text-align-last: justify;
                                -webkit-text-size-adjust:none;
                            }
                        }
                        .email{
                            display: flex;
                            span{
                                color: #000;
                                font-size: .7em;
                                text-align-last: justify;
                                -webkit-text-size-adjust:none;
                            }
                            span:nth-of-type(1){
                                flex-shrink: 0;
                            }
                        }
                    }
                    .time{
                        font-size: .7em;
                        color: #000;
                        .workphone{
                            display: flex;

                            span:nth-of-type(1){
                                flex-shrink: 0;
                            }
                        }
                        .ourtime{
                            display: flex;
                            margin-bottom: 1em;
                            span:nth-of-type(1){
                                flex-shrink: 0;
                            }
                        }
                    }
                }

                .ercode{
                    display: flex;
                    align-items: flex-end;
                    .code{
                        margin-right: 1em;
                    }
                    span{
                        color: #000;
                        font-weight: bold;
                        font-size: 1em;

                    }
                }
            }
        }
        @media screen and (max-width:768px){
            .top{
                width: 100%;
                flex-direction: column;
                .leftlist{
                    margin-bottom: 1em;
                }
                .right{
                    .contact{
                        flex-wrap: wrap;
                        justify-content: space-around;
                        align-items: center;
                        margin-bottom: 2em;
                    }

                    .ercode{
                        flex-direction: column;
                        align-items: center;
                        .code{
                            transform:translateY(2em) scale(2);
                            margin-bottom: 3em;
                        }
                        span{
                            display: none;
                        }
                    }
                }
            }
        }

        .bottom{
            display: flex;
            background: #6db6ff;
            height: 5em;
            justify-content: center;
            align-items: flex-end;
            span{
                font-size: .8em;
                white-space: nowrap;
                margin-bottom: .5em;
            }
        }
    }

    @media screen and (max-width:974px) {
        .container {
            width: 90%;
        }
    }

    @media screen and (max-width:866px) {
        .container {
            width: 100%;
            padding: 0;
        }
    }

    @media screen and (max-width:768px) {
        .container {
            width: 100%;
            padding: 0;
        }
    }
}